package com.hl.pojo;

import java.util.HashSet;
import java.util.Set;

@SuppressWarnings("all")
public class Org implements java.io.Serializable {

	// Fields

	private String orgId;
	private Integer orgType;
	private String orgAddress;
	private String phone;
	private String email;
	private String linkman;
	private Integer orgStatus;
	private String parentId;
	private Integer orderId;
	private String orgName;
	private Set employees = new HashSet(0);
	private Set employeeToOrgs = new HashSet(0);
	private Set departments = new HashSet(0);
	private Set templates = new HashSet(0);
	private Set deptHeadships = new HashSet(0);

	// Constructors

	/** default constructor */
	public Org() {
	}

	/** minimal constructor */
	public Org(String orgId) {
		this.orgId = orgId;
	}

	/** full constructor */
	public Org(String orgId, Integer orgType, String orgAddress, String phone, String email, String linkman, Integer orgStatus, String parentId, Integer orderId, String orgName,
			Set employees, Set employeeToOrgs, Set departments, Set templates, Set deptHeadships) {
		this.orgId = orgId;
		this.orgType = orgType;
		this.orgAddress = orgAddress;
		this.phone = phone;
		this.email = email;
		this.linkman = linkman;
		this.orgStatus = orgStatus;
		this.parentId = parentId;
		this.orderId = orderId;
		this.orgName = orgName;
		this.employees = employees;
		this.employeeToOrgs = employeeToOrgs;
		this.departments = departments;
		this.templates = templates;
		this.deptHeadships = deptHeadships;
	}

	// Property accessors

	public String getOrgId() {
		return this.orgId;
	}

	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}

	public Integer getOrgType() {
		return this.orgType;
	}

	public void setOrgType(Integer orgType) {
		this.orgType = orgType;
	}

	public String getOrgAddress() {
		return this.orgAddress;
	}

	public void setOrgAddress(String orgAddress) {
		this.orgAddress = orgAddress;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getLinkman() {
		return this.linkman;
	}

	public void setLinkman(String linkman) {
		this.linkman = linkman;
	}

	public Integer getOrgStatus() {
		return this.orgStatus;
	}

	public void setOrgStatus(Integer orgStatus) {
		this.orgStatus = orgStatus;
	}

	public String getParentId() {
		return this.parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public Integer getOrderId() {
		return this.orderId;
	}

	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}

	public String getOrgName() {
		return this.orgName;
	}

	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}

	public Set getEmployees() {
		return this.employees;
	}

	public void setEmployees(Set employees) {
		this.employees = employees;
	}

	public Set getEmployeeToOrgs() {
		return this.employeeToOrgs;
	}

	public void setEmployeeToOrgs(Set employeeToOrgs) {
		this.employeeToOrgs = employeeToOrgs;
	}

	public Set getDepartments() {
		return this.departments;
	}

	public void setDepartments(Set departments) {
		this.departments = departments;
	}

	public Set getTemplates() {
		return this.templates;
	}

	public void setTemplates(Set templates) {
		this.templates = templates;
	}

	public Set getDeptHeadships() {
		return this.deptHeadships;
	}

	public void setDeptHeadships(Set deptHeadships) {
		this.deptHeadships = deptHeadships;
	}

}